package com.sunwayworld.basemodule.business.operationbatch.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.business.operationbatch.bean.LimsPreTaskSupplementBean;
import com.sunwayworld.basemodule.business.operationbatch.dao.LimsPreTaskSupplementDao;
import com.sunwayworld.basemodule.business.operationbatch.mapper.LimsPreTaskSupplementMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsPreTaskSupplementDaoImpl extends MybatisDaoSupport<LimsPreTaskSupplementBean, Long> implements LimsPreTaskSupplementDao {

    @Autowired
    private LimsPreTaskSupplementMapper limsPreTaskSupplementMapper;

    @Override
    public LimsPreTaskSupplementMapper getMapper() {
        return limsPreTaskSupplementMapper;
    }

    @Override
    public List<Map<String, Object>> selectPreTaskSupplementToColumns(MapperParameter parameter) {
        return getMapper().selectPreTaskSupplementToColumns(parameter);
    }
}
